{include file="public/header" /}

<body>
    <div class="layui-fluid">
        <div class="layui-row layui-col-space15">
            <div class="layui-col-md12">
                <div class="layui-card">
                    <div class="layui-table-body layui-table-main">
                        <table class="layui-table layui-form">
                            <thead>
                                <tr>
                                    <th>
                                        <div class="layui-table-cell">ID</div>
                                    </th>
                                    <th>
                                        <div class="layui-table-cell">账号名称</div>
                                    </th>
                                    <th>
                                        <div class="layui-table-cell">登录ip</div>
                                    </th>
                                    <th>
                                        <div class="layui-table-cell">登陆信息</div>
                                    </th>
                                    <th>
                                        <div class="layui-table-cell">登陆时间</div>
                                    </th>
                                </tr>
                            </thead>
                            <tbody>
                                {foreach $list as $v}
                                <tr>
                                    <td>
                                        <div class="layui-table-cell">{$v.id}</div>
                                    </td>
                                    <td>
                                        <div class="layui-table-cell">{$v.username}</div>
                                    </td>
                                    <td>
                                        <div class="layui-table-cell">{$v.login_ip}</div>
                                    </td>
                                    <td>
                                        <div class="layui-table-cell">{$v.info}</div>
                                    </td>
                                    <td>
                                        <div class="layui-table-cell">{$v.created}</div>
                                    </td>
                                </tr>
                                {/foreach}

                            </tbody>
                        </table>
                    </div>
                    <div class="layui-card-body">
                        <div class="page">
                            {$list->render()|raw}
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    {include file="public/footer"}
</body>